import 'package:flutter/material.dart';
import 'package:kuaitong/comments/swiper.dart';
import 'package:kuaitong/comments/list.dart';

class HomePage extends StatefulWidget {
  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        centerTitle: true,
        backgroundColor: Color(0xffee6728),
        title: Text(
          "快通",
          style: TextStyle(color: Color(0xff666666)),
        ),
      ),
      body: SingleChildScrollView(
        child: Column(
          children: [
            SwiperPage(),
            List(),
          ],
        ),
      ),
    );
  }
}
